import service from '@/utils/request'
// @Tags VideoAudioLibrary
// @Summary 创建videoAudioLibrary表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.VideoAudioLibrary true "创建videoAudioLibrary表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /videoAudioLibrary/createVideoAudioLibrary [post]
export const createVideoAudioLibrary = (data) => {
  return service({
    url: '/videoAudioLibrary/createVideoAudioLibrary',
    method: 'post',
    data
  })
}

// @Tags VideoAudioLibrary
// @Summary 删除videoAudioLibrary表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.VideoAudioLibrary true "删除videoAudioLibrary表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /videoAudioLibrary/deleteVideoAudioLibrary [delete]
export const deleteVideoAudioLibrary = (params) => {
  return service({
    url: '/videoAudioLibrary/deleteVideoAudioLibrary',
    method: 'delete',
    params
  })
}

// @Tags VideoAudioLibrary
// @Summary 批量删除videoAudioLibrary表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除videoAudioLibrary表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /videoAudioLibrary/deleteVideoAudioLibrary [delete]
export const deleteVideoAudioLibraryByIds = (params) => {
  return service({
    url: '/videoAudioLibrary/deleteVideoAudioLibraryByIds',
    method: 'delete',
    params
  })
}

// @Tags VideoAudioLibrary
// @Summary 更新videoAudioLibrary表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.VideoAudioLibrary true "更新videoAudioLibrary表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /videoAudioLibrary/updateVideoAudioLibrary [put]
export const updateVideoAudioLibrary = (data) => {
  return service({
    url: '/videoAudioLibrary/updateVideoAudioLibrary',
    method: 'put',
    data
  })
}

// @Tags VideoAudioLibrary
// @Summary 用id查询videoAudioLibrary表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data query model.VideoAudioLibrary true "用id查询videoAudioLibrary表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /videoAudioLibrary/findVideoAudioLibrary [get]
export const findVideoAudioLibrary = (params) => {
  return service({
    url: '/videoAudioLibrary/findVideoAudioLibrary',
    method: 'get',
    params
  })
}

// @Tags VideoAudioLibrary
// @Summary 分页获取videoAudioLibrary表列表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取videoAudioLibrary表列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /videoAudioLibrary/getVideoAudioLibraryList [get]
export const getVideoAudioLibraryList = (params) => {
  return service({
    url: '/videoAudioLibrary/getVideoAudioLibraryList',
    method: 'get',
    params
  })
}

// @Tags VideoAudioLibrary
// @Summary 不需要鉴权的videoAudioLibrary表接口
// @Accept application/json
// @Produce application/json
// @Param data query exampleReq.VideoAudioLibrarySearch true "分页获取videoAudioLibrary表列表"
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
// @Router /videoAudioLibrary/getVideoAudioLibraryPublic [get]
export const getVideoAudioLibraryPublic = () => {
  return service({
    url: '/videoAudioLibrary/getVideoAudioLibraryPublic',
    method: 'get',
  })
}
